import mongoose from "mongoose";
const Schema = mongoose.Schema;

/**
 * 用户表
 */
const userSchema = new Schema({
  _id: String,
  userName: String,
  phone: String,
  email: String,
  avatar: String,
  birth: String,
  gender: String,
  password: String,
  createdTime: Number,
});


export const userSchemas = mongoose.model("user", userSchema);

